package com.cheng.design.demo.template.model;

import java.util.ArrayList;
import java.util.List;

public class SendModel {

    private List<String> placeholders = new ArrayList<>();

    private String template;

    private String getResult() {
        // 构件
        return null;
    }

    /**
     * 插入到模板的顺序得自己管理
     * @param sign
     */
    public void put(String sign){
        placeholders.add(sign);
    }

    public void setTemplate(String template) {
        this.template = template;
    }
}
